package com.tql.kingdee.response;

public class LoginResponse {
    private String Message;
    private Boolean IsSuccessByAPI;

    private String KDSVCSessionId;


    public String getKDSVCSessionId() {
        return KDSVCSessionId;
    }

    public void setKDSVCSessionId(String KDSVCSessionId) {
        this.KDSVCSessionId = KDSVCSessionId;
    }

    public String getMessage() {
        return Message;
    }

    public void setMessage(String message) {
        Message = message;
    }

    public Boolean getIsSuccessByAPI() {
        return IsSuccessByAPI;
    }

    public void setIsSuccessByAPI(Boolean isSuccessByAPI) {
        IsSuccessByAPI = isSuccessByAPI;
    }

    @Override
    public String toString() {
        return "LoginResponse{" +
                "Message='" + Message + '\'' +
                ", IsSuccessByAPI='" + IsSuccessByAPI + '\'' +
                ", KDSVCSessionId='" + KDSVCSessionId + '\'' +
                '}';
    }

/**
     *   "Message": "第三方应用：webapi 验证签名失败，请联系系统管理员！",
     *     "MessageCode": "002005000003016",
     *     "LoginResultType": -1,
     *     "Context": null,
     *     "KDSVCSessionId": null,
     *     "FormId": null,
     *     "RedirectFormParam": null,
     *     "FormInputObject": null,
     *     "ErrorStackTrace": null,
     *     "Lcid": 0,
     *     "AccessToken": null,
     *     "CustomParam": null,
     *     "KdAccessResult": null,
     *     "IsSuccessByAPI": false
     */


    //     {
//     "Result": {
//     "ResponseStatus": {
//     "ErrorCode": 500,
//     "IsSuccess": false,
//     "Errors": [
//     {
//     "FieldName": null,
//     "Message": "会话信息已丢失，请重新登录",
//     "DIndex": 0
//     }
//     ],
//     "SuccessEntitys": [],
//     "SuccessMessages": [],
//     "MsgCode": 1
//     }
//     }
//     }
//
}
